home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994…tember: Reference Library / Dev.CD Sep 94.toast / Periodicals / develop / develop Issue 11 / develop 11 code / The NetWork Project / Examples (Sources) / NetSim / About NetSim next >
Encoding:
Text File  |  1992-07-15  |  2.5 KB  |  54 lines  |  [TEXT/MPS ]

  1. About NetSim…
  2.  
  3. NetSim is an example of a distributed simulation using the NetWork System for
  4. distributed computing. More precisely: NetSim it is an example how  n o t  to 
  5. run a simulation. It shows how to use the NetWork facilities for distributed 
  6. computing. It does not show how to do a simulation.
  7.  
  8. NetSim is 
  9.     Copyright © G. Sawitzki, Heidelberg 1991. All rights reserved.
  10.     
  11. NetSim uses the signature 'NetE' which is reserved with Apple for NetWork experiments.
  12.  
  13. NetSim is based on the Random&Template programming framework used at
  14. StatLab Heidelberg. See the Random&Template distribution disk for more information.
  15. Random&Template is in the public domain. A recent version of Random&Template is
  16. available for $29 from StatLab Heidelberg, Im Neuenheimer Feld 294, 6900 Heidelberg,
  17. W. Germany.
  18.  
  19. Random number generation is basic to most simulations. The core are random numbers
  20. which are approximately independent uniformly distributed. NetSim uses Apple's
  21. random number generation which satisfies these requirements, but it does not take
  22. care that several copies take independent random number generators. As a matter of
  23. fact, it was developed to study the effect of this negligence.
  24.  
  25. NetSim generates random samples take from a Gaussian (Normal) distribution. Two 
  26. methods for estimating the scale are applied: the span (max-min) and the standard
  27. deviation are calculated. For a deterministic sequence, these measures of scale
  28. would have a constant ration. For random sample, both may differ. The distribution
  29. of span/standard deviation is monitored by NetSim. 
  30.  
  31. NetSim hunts for records of the ratio span/standard deviation. The observed samples
  32. yielding minimum and maximum ratios span/standard deviation are shown.
  33.  
  34. In a distributed environment, NetSim asks partners to generate a new random sample and
  35. to calculate the ratio span/standard deviation. If a ratio is returned, it is included
  36. in the histogram of total statistics. If it is a new record, the sample itself is
  37. displayed as well. 
  38. The ratio is returned in NetWorks priority information part, the sample itself is in the
  39. core information.
  40.  
  41. NetSim consists of the usual units of Template, as documented in Random&Template,
  42. and the following special units:
  43.     stdtools.rsrc    adapted for NetSim
  44.     HistogramUnit.p    survey statistics and adaptive histograms
  45.     HistogramIo.p    display  methods for survey statistics and adaptive histograms
  46.     
  47.     special task handlers, as indicated by name
  48.          task.reply.impl.p
  49.          task.slave.impl.p
  50.          task.handlers.impl.p
  51.          task.master.impl.p      
  52.  
  53.     UToy.p            basic random number generation
  54.